package com.aivin.maproutelib.param;

import android.graphics.Color;
import android.support.annotation.ColorInt;


import com.amap.api.maps.model.LatLng;

import java.util.List;


public class OLineOption {
    public List<LatLng> latlngs;
    public int strokeColor = Color.parseColor("#2c2c2c");
    public int strokeWidth = 1;


    public OLineOption(List<LatLng> latlngs) {
        this.latlngs = latlngs;
    }
    public OLineOption strokeColor(@ColorInt int strokeColor) {
        this.strokeColor = strokeColor;
        return this;
    }

    public OLineOption strokeWidth(int strokeWidth) {
        this.strokeWidth = strokeWidth;
        return this;
    }
}
